import request from '@/utils/request'

//试卷分页列表	
export function paperInfoList(data) {
	return request({
		url: '/student/paper/studentPaper/paperInfoList',
		method: 'get',
		params: data
	})
}

//创建考试记录	
export function savePaperStudyRecord(data) {
	return request({
		url: '/student/paper/studentPaper/savePaperStudyRecord',
		method: 'post',
		params: data
	})
}

//开始考试-获取试题	
export function selectPaperQuestionList(data) {
	return request({
		url: '/student/paper/studentPaper/selectPaperQuestionList',
		method: 'get',
		params: data
	})
}

//考试提交	
export function paperCommit(data) {
	return request({
		url: '/student/paper/studentPaper/paperCommit',
		method: 'post',
		data
	})
}

//考试试题列表（查看成绩）
export function paperQuestionAnswerList(data) {
	return request({
		url: '/student/paper/studentPaper/paperQuestionAnswerList',
		method: 'get',
		params: data
	})
}

//考试成绩-考试记录分页列表
export function paperAnswerList(data) {
	return request({
		url: '/student/paper/studentPaper/paperAnswerList',
		method: 'get',
		params: data
	})
}
//考试成绩-考试次数统计
export function paperNumberStatistic(data) {
	return request({
		url: '/student/paper/studentPaper/paperNumberStatistic',
		method: 'get',
		params: data
	})
}

//考试成绩-近五次考试成绩趋势
export function paperScoreTopFive(data) {
	return request({
		url: '/student/paper/studentPaper/paperScoreTopFive',
		method: 'get',
		params: data
	})
}

//查询考试详情信息
export function paperStudyDetail(data) {
	return request({
		url: '/student/paper/studentPaper/paperStudyDetail',
		method: 'get',
		params: data
	})
}

